Part Number Hot Search : 
HC406 EPA240B FR1007G 6GE473T CZRC5377 BTA92 2SC47 74HC574
Product Description
Full Text Search
 

To Download DS2165QN Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 of 17 070802 note: some revisions of this device may incorporate deviations from published speci fications known as errata. multiple revisions of any device may be simultaneously available through various sales chan nels. for information about device errata, click here: http://www.maxim-ic.com/errata . features  compresses/expands 64kbps pcm voice to/from either 32kbps, 24kbps, or 16kbps  dual fully independent channel architecture; device can be programmed to perform either:  two expansions  two compressions  one expansion and one compression  interconnects directly to combo-codec devices  input to output delay is less than 375  s  simple serial port used to configure the device  on-board time-slot assigner-circuit (tsac) function allows data to be input/output at various time slots  supports channel associated signaling  each channel can be independently idled or placed into bypass  available hardware mode requires no host processor; ideal for voice storage applications  single +5v supply; low-power cmos technology  available in 28-pin plcc  3v operation version is available (ds2165ql) pin assignment (top view) description the ds2165q adpcm processor chip is a dedicated di gital-signal-processing (dsp) chip that has been optimized to perform adaptive-differential pulse-code modulation (adpcm) speech compression at three different rates. the chip can be programmed to compress (expand) 64kbps voice data down to (up from) either 32kbps, 24kbps, or 16kbps. the compression to 32kbps follows the algorithm specified by ccitt recommendation g.721 (july 1986) and ansi doc ument t1.301 (april 1987). the compression to 24kbps follows ansi document t1.303. the compression to 16kbps follows a proprietary algorithm developed by dallas se miconductor. the ds2165q can switch comp ression algorithms on-the-fly. this allows the user to make maximum use of the available bandwidth on a dynamic basis. 28-pin plcc nc a0a1 a2 a3 a4 fsy yout cs sdi sclk xout a5 nc tm1tm0 rst nc vdd yin clky sps mcl k vss nc xin clk x fs x 2524 23 22 21 20 19 56 7 89 10 11 4 3 2 1 28 27 26 12 13 14 15 16 17 18 www.maxim-ic.com ds2165q 16/24/32kbps adpcm processo r ds2165q downloaded from: http:///
ds2165q 2 of 17 overview the ds2165q contains three major functional blocks : a high performance (10 mips) dsp engine, two independent pcm interfaces (x and y) that connect directly to serial time-division-multiplexed (tdm) backplanes, and a serial port that can configure the device on-the-fly by an external controller. a 10mhz master clock is required by the dsp engine. the ds2165q can be configured to perform either two expansions, two compressions, or one expansion and one compression. the pcm/adpcm data interfaces support data rates from 256khz to 4.096mhz. typi cally, the pcm data rates are 1.544mhz for  -law and 2.048mhz for a-law. each channel on the device samp les the serial input pcm or adpcm bit stream during a user-programmed input time slot, processes the data and outputs the result during a user- programmed output time slot. each pcm interface has a control register that sp ecifies functional characte ristics (compress, expand, bypass, and idle), data format (  -law or a-law), and algorithm reset control. with the sps pin strapped high, the software mode is enabled and the serial port can be used to configure the device. in this mode, a novel addressing scheme allows multiple devices to share a common 3-wire control bus, simplifying system-level interconnect. with sps low, the hardware mode is enabled. this m ode disables the serial port and maps certain control register bits to some of the address and serial port pins. under the hardware mode, no external host controller is required and all pcm/adpcm input and output time slots de fault to time slot 0. hardware reset rst allows the user to reset both channel algorithms and the contents of the internal registers. this pin must be held low for at least 1ms on system power-up after the master clock is stable to ensure that the device has initialized properly. rst should also be asserted when changing to or from the hardware mode. rst clears all bits of the control register for both channels except the ipd bits; the ipd bits for both channels are set to 1. software mode connecting sps high enables the software mode. in this mode, an external host controller writes configuration data to the ds2165q by the serial port through inputs sclk, sdi, and cs (figure 2). each write to the ds2165q is either a 2-byte write or a 4-byte write. a 2-byte write consists of the address/command byte (acb), fo llowed by a byte to configure the control register (cr) for either the x or y channel. the 4-byte write consists of the acb, followed by a byte to configure the cr, and then 1 byte to set the input time slot and a nother byte to set the output time slot. address/command byte in the software mode, the address/command byte is the first byte written to the serial port; it identifies which of the 64 possible adpcm processors sharing th e port wiring is to be updated. address data must match that at inputs a0 to a5. if no match occurs, th e device ignores the following configuration data. if an address match occurs, the next 3 bytes written are accepted as control, input and output time slot data. bit acb.6 determines which side (x or y) of the device is to be updated. the pcm and adpcm outputs are tri-stated during register updates. downloaded from: http:///
ds2165q 3 of 17 control register the control register establishes idle, algorithm rese t, bypass, data format, a nd channel coding for the selected channel. the x-side and y-side pcm interfaces can be indepe ndently disabled (output tri-stated) by ipd. when ipd is set for both channels, the device enters a low- power standby mode. in this mode, the serial port must not be operated faster than 39khz. alrst resets the algorithm coefficients for the selected channel to their initial values. alrst is cle ared by the device when the algorithm reset is complete. table 1. pin description pin symbol type function 2 rst i reset. a high-low-high transition resets the algorithm. the device should be reset on power-up and when changing to or from the hardware mode. 34 tm0 tm1 i test modes 0 and 1. connect to v ss for normal operation. 67 8 9 1011 a0a1 a2 a3 a4 a5 i address select. a0 = lsb, a5 = msb. must match address/command word to enable the serial port. 12 sps i serial port select. connect to v dd to select the serial port; connect to v ss to select the hardware mode. 13 mclk i master clock. 10mhz clock for the adpcm processing engine; may be asynchronous to sclk, clkx, and clky. 14 vss signal ground. 0v 16 xin i x data in. sampled on falling edge of clkx during selected time slots. 17 clkx i x data clock. data clock for the x-side pcm interface; must be synchronous with fsx. 18 fsx i x frame sync. 8khz frame sync for the x-side pcm interface. 20 xout o x data output. updated on rising edge of clkx during selected time slots. 21 sclk i serial data clock. used to write to the serial port registers. 22 sdi i serial data in. data for on-board control registers; sampled on the rising edge of sclk. lsb sent first. 23 cs i chip select. must be low to write to the serial port. 24 yout o y data output. updated on rising edge of clky during selected time slots. 25 fsy i y frame sync. 8khz frame sync for the y-side pcm interface. 26 clky i y data clock. data clock for the y-side pcm interface; must be synchronous with fsy. 27 yin i y data in. sampled on falling edge of clky during selected time slots. 28 vdd positive supply. 5.0v (3.0v for ds2165ql) downloaded from: http:///
ds2165q 4 of 17 figure 1. block diagram figure 2. serial port write note: a 2-byte write is shown. the bypass feature is enabled when byp is set a nd ipd is cleared. during bypass, no expansion or compression occurs. bypass operates on bytewide (8 bits) slots when cp/ ex is set and on nibble-wide (4 bits) slots when cp/ ex is cleared. a-law (u/ a = 0) and  -law (u/ a = 1) pcm coding is independently selected for the x and y channels by cr.2. if byp and ipd are cleared, then cp/ ex determines if the input da ta is to be compressed or expanded. downloaded from: http:///
ds2165q 5 of 17 figure 3. address/command byte (msb) (lsb) x/ y a5 a4 a3 a2 a1 a0 symbol position function acb.7 reserved. must be 0 for proper operation x/ y acb.6 x/y channel select 0 = update channel y characteristics 1 = update channel x characteristics a5 acb.5 msb of device address a4 acb.4 a3 acb.3 a2 acb.2 a1 acb.1 a0 acb.0 lsb of device address figure 4. control register (msb) (lsb) as0 as1 ipd alrst byp u/ a as2 cp/ ex symbol position function as0 cr.7 algorithm select 0 (table 2) as1 cr.6 algorithm select 1 (table 2) ipd cr.5 idle and power-down 0 = channel enabled 1 = channel disabled (output tri-stated) alrst cr.4 algorithm reset 0 = normal operation 1 = reset algorithm for selected channel byp cr.3 bypass 0 = normal operation 1 = bypass selected channel u/ a cr.2 data format 0 = a-law 1 =  -law as2 cr.1 algorithm select 2 (table 2) cp/ ex cr.0 channel coding 0 = expand (decode) selected channel 1 = compress (encode) selected channel downloaded from: http:///
ds2165q 6 of 17 table 2. algorithm select bits algorithm selected as2 as1 as0 64kbps to/from 32kbps 0 0 0 64kbps to/from 24kbps 1 1 1 64kbps to/from 16kbps 1 0 1 figure 5. input time slot register (msb) (lsb) -d 5d 4d 3d 2d 1 d 0 symbol position function itr.7 reserved. must be 0 for proper operation itr.6 reserved. must be 0 for proper operation d5 itr.5 msb of input time slot register d4 itr.4 d3 itr.3 d2 itr.2 d1 itr.1 d0 itr.0 lsb of input time slot register figure 6. output time slot register (msb) (lsb) d5 d4 d3 d2 d1 d0 symbol position function otr.7 reserved. must be 0 for proper operation otr.6 reserved. must be 0 for proper operation d5 otr.5 msb of output time slot register d4 otr.4 d3 otr.3 d2 otr.2 d1 otr.1 d0 otr.0 lsb of output time slot register downloaded from: http:///
ds2165q 7 of 17 time slot assignment/organization on-board counters establish when pcm and adpcm i/o occur. the counters are programmed by the time slot registers. time slot size (number of bits wide) is determined by the state of cp/ ex . the number of time slots available is determined by the state of both cp/ ex and u/ a (figures 7 through 10). for example, if the x channel is set to compress (cp/ ex = 1) and it is set to expect  -law data (u/ a = 1), then the input port (xin) is set up for 32 8-bit time slots and the out put port (xout) is set up for 64 4-bit time slots. the time slot organization is not dependent on which algorithm has been selected. note: time slots are counted from the frame sync signal starting at the first rising edge of either clkx or clky after the frame sync. figure 7.  -law pcm interface figure 8.  -law adpcm interface downloaded from: http:///
ds2165q 8 of 17 figure 9. a-law pcm interface figure 10. a-law adpcm interface downloaded from: http:///
ds2165q 9 of 17 hardware mode the hardware mode is intended for applications that do not have an external controller available or do not require the extended features offered by the serial port. connecting the sps pin to v ss disables the serial port, clears all internal regist er bits, and maps the ipd, u/ a , and cp/ ex bits for both channels to external bits (table 3). in the hardware mode, both the input and output time slots default to time slot 0. table 3. hardware mode pin # name register location function 6a 0 cp/ ex (channel x) channel x coding configuration 0 = expand 1 = compress 7a 1 as0/as1/as2 (channel x and y) algorithm select (table 4) 8a 2 u/ a (channel x) channel x data format 0 = a-law 1 =  -law 9a 3 cp/ ex (channel y) channel y coding configuration 0 = expand 1 = compress 10 a4 as0/as1/as2 (channel x and y) algorithm select (table 4) 11 a5 u/ a (channel y) channel y data format 0 = a-law 1 =  -law 22 sdi ipd (channel y) channel y idle select 0 = channel active 1 = channel idle 23 cs ipd (channel x) channel x idle select 0 = channel active 1 = channel idle notes:1) sclk must be connected to v ss when the hardware mode is selected. 2) when both channels are idled, power c onsumption is significantly reduced. 3) the nil powers up within 800ms after either channe l is returned to active from an idle state. downloaded from: http:///
ds2165q 10 of 17 table 4. algorithm select for hardware mode algorithm configuration of a1 and a4 64kbps to/from 32kbps connect both a1 and a4 to v ss . 64kpbs to/from 24kbps hold a1 and a4 low during a hardware reset; take both a1 and a4 high after the rst pin has returned high (allow 3  s after rst returns high before taking a1 and a4 high). 64kbps to/from 16kbps connect both a1 and a4 to v dd . figure 11. ds2165q connection to codec/filter suggested codec/filters * tp305x nationa l semiconductor etc505x stmicroelectronicsmc1455xx motorola, inc. tcm29cxx texas instruments incorporated hd44238c hitachi * other generic codec/filter devices can be substituted. ds2165q downloaded from: http:///
ds2165q 11 of 17 pcm and adpcm input/output since the organization of the input and output time slots on the ds2165q does not depend on the algorithm selected, it always assumes that pcm i nput and output are in 8-bit bytes and that adpcm input and output are in 4-bit bytes. figure 12 de monstrates how the ds2165q handles the i/o for the three different algorithms. in the figure, it is assumed that channel x is in the compression mode (cp/ ex = 1) and channel y is in the expansion mode (cp/ ex = 0). also, it is assumed that both the input and output time slots for both channels are set to 0. figure 12. pcm and adpcm i/o example note 1: the bit after the lsb in the 24kbps adpcm output is only a 1 when the ds2165q is operated in the software mode and is programmed to perform 24kbps compression; in all other configurations, it is a 0. downloaded from: http:///
ds2165q 12 of 17 time slot restrictions under certain conditions, the ds2165q does contain some restrictions on the output time slots that are available. these restrictions are covered in detail in a separate application note. no restrictions occur if the ds2165q is operated in the hardware mode. input to output delay with all three compressions algorithms, the total delay, from the time the pcm data sample is captured by the ds2165q to the time it is output, is always less than 375  s. the exact delay is determined by the input and output time slots se lected for each channel. channel associated signaling the ds2165q supports channel associated signaling (cas) through its ability to automatically change from the 32kbps compression algorithm to the 24kbps algorithm. if the ds2165q is configured to perform the 32kbps algorithm, then in both the hard ware and software mode it senses the frame sync inputs (fsx and fsy) for a double-wide frame-syn c pulse. whenever the ds2165q receives a double- wide pulse, it automatically switches from the 32kbps algorithm to the 24kbps algorithm. switching to the 24kbps algorithm allows the user to insert si gnaling data into the lsb bit position of the adpcm output because this bit does not contain any useful speech information. on-the-fly algorithm selection in the software mode, the user can switch between the three available algorithms on-the-fly. that is, the ds2165q does not need to be reset or stopped to make the change from one algorithm to another. the ds2165q reads the control register before it starts to process each pcm or adpcm sample. if the user wishes to switch algorithms, then the control register must be updated by the serial port before the first input sample to be processed w ith the new algorithm arrives at either xin or yin. the pcm and acpcm outputs tri-state dur ing register updates. downloaded from: http:///
ds2165q 13 of 17 absolute maximum ratings* voltage range on any pin rela tive to ground -1.0v to +7.0v operating temperature range 0  c to +70  c storage temperature range -55  c to +125  c soldering temperature range see ipc/jedec j-std-020a *this is a stress rating only and functional operation of the device at these or any other conditions bey ond those indicated in the operation sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods of time can affect reliability. recommended dc operating conditions (t a = 0c to +70  c) parameter symbol min typ max units notes logic 1 v ih 2.0 v cc + 0.3 v 5, 7 logic 0 v il -0.3 +0.8 v 5 supply v dd 4.5 5.5 v 5 logic 1 v ih 2.2 v cc + 0.3 v 6 logic 0 v il -0.3 +0.4 v 6 supply v dd 2.7 3.6 v 6 capacitance (t a = +25c) parameter symbol min typ max units notes input capacitance c in 5p f output capacitance c out 10 pf dc electrical characteristics (v dd = 5v 10%, t a = 0c to +70c; v dd = 3.0v + 20% - 10% for ds2165ql) parameter symbol min typ max units notes active supply current i dda 20 ma 1, 2, 5 active supply current i dda 12 ma 1, 2, 6 idle supply current i ddpd 1 ma 1, 2, 3 input leakage i i -1.0 +1.0  a output leakage i o -1.0 +1.0  a 4 output current (2.4v) i oh -1.0 ma 5 output current (0.4v) i ol +4.0 ma 5 output current (2.2v) i oh -0.5 ma 6 output current (0.4v) i ol +2.0 ma 6 notes:1) clkx = clky = 1.544mhz; mclk = 10mhz 2) outputs open; inputs swinging full supply levels. 3) both channels in idle mode. 4) xout and yout are tri-stated. 5) applies only to 5v device. 6) applies only to 3v device (ds2165ql). 7) clkx, clky, mclk v ih min = 2.4v downloaded from: http:///
ds2165q 14 of 17 pcm interface, ac electrical characteristics (v dd = 5v 10%, t a = 0c to +70c; v dd = 3.0v + 20% - 10% for ds2165ql) parameter symbol min typ max units notes clkx, clky period t pxy 244 3906 ns 1 clkx, clky pulse width t wxyl t wxyh 100 ns clkx, clky rise fall times t rxy t fxy 10 20 ns hold time from clkx, clky to fsx, fsy t hold 0n s 2 setup time from fsx, fsy high to clkx, clky low t sf 50 ns 2 hold time from clkx, clky low to fsx, fsy low t hf 100 ns 2 setup time for xin, yin to clkx, clky low t sd 50 ns 2 hold time for xin, yin to clkx, clky low t hd 50 ns 2 delay time from clkx, clky to valid xout, yout t dxyo 10 150 ns 3 delay time from clkx, clky to xout, yout tri-stated t dxyz 20 150 ns 2, 3, 4 notes:1) maximum width of fsx and fsy is one clkx or clky period (except for signaling frames). maximum operating frequency is guaranteed by design and is not a tested parameter. 2) measured at v ih = 2.0v, v il = 0.8v, and 10ns maximum rise and fall times. 3) load = 150pf + 2 lsttl loads. 4) for lsb of pcm or adpcm byte. master clock/reset, ac el ectrical characteristics (v dd = 5v 10%, t a = 0c to +70c; v dd = 3.0v + 20% - 10% for ds2165ql) parameter symbol min typ max units notes mclk period t pm 100 ns 1 mclk pulse width t wmh , t wml 45 50 55 ns mclk rise/fall times t rm , t fm 10 ns rst pulse width t rst 1m s notes:1) mclk = 10mhz 500ppm downloaded from: http:///
ds2165q 15 of 17 serial port, ac electr ical characteristics (v dd = 5v 10%, t a = 0c to +70c; v dd = 3.0v + 20% - 10% for ds2165ql) parameter symbol min typ max units notes sdi to sclk setup t dc 55 ns 1 sclk to sdi hold t cdh 55 ns 1 sclk low time t cl 250 ns 1 sclk high time t ch 250 ns 1 sclk rise and fall time t r , t f 100 ns 1 cs to sclk setup t cc 50 ns 1 sclk to cs hold t cch 250 ns 1 cs inactive time t cwh 250 ns 1 sclk setup to cs falling t scc 50 ns 1 notes:1) measured at v ih = 2.0v, v il = 0.8v, and 10ns maximum rise and fall times. downloaded from: http:///
ds2165q 16 of 17 figure 13. pcm interface ac timing diagram figure 14. master clock/r eset ac timing diagram figure 15. serial port ac timing diagram note: sclk can be either high or low when cs is taken low. downloaded from: http:///
ds2165q 17 of 17 28-pin plcc inches dim min max a 0.165 0.180 a1 0.090 0.120 a2 0.020 b 0.026 0.033 b1 0.013 0.021 c 0.009 0.012 d 0.485 0.495 d1 0.450 0.456 d2 0.390 0.430 e 0.485 0.495 e1 0.450 0.456 e2 0.390 0.430 l1 0.060 n 28 e1 0.050 bsc ch1 0.042 0.048 downloaded from: http:///


▲Up To Search▲   

 
Price & Availability of DS2165QN

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X